package com.jubao.ejb.dao;

import java.io.Serializable;
import java.util.List;

import com.jubao.ejb.entity.Website;

public interface WebsiteDao extends Serializable {

	/**
	 * 
	 * @param website
	 * @return
	 */
	public Website save(Website website);

	public void deleteSiteBySiteId(String siteId);

	public Website find(long sysId);
	public Website find(String id);
	
	/**
	 * get website list
	 * 
	 * @param status
	 * @param pgno
	 * @param pgsize
	 * @return
	 */
	public List<Website> getWebsiteList(int status,int pgno,int pgsize);
	/**
	 * get count of website
	 * @param status
	 * @return
	 */
	public long getWebsiteCount(int status);
}
